function init()
{
	// console.log("init TYPE");

	printGraph(phnq, "phnq");
}

function printGraph(obj, ns)
{
	for(k in obj)
	{
		var v = obj[k];
		var name = ns + "." + k;
		var type = typeof(v);
		console.log(name+": "+type);
		
		if(type == "object")
		{
			printGraph(v, name);
		}
		else if(type == "function")
		{
			var hasProto = false;
			for(pk in v.prototype)
			{
				hasProto = true;
				break;
			}
			
			if(hasProto)
				printGraph(v.prototype, name);
		}
	}
}